package com.linln.admin.SpringBoot.domain;

import com.linln.common.utils.StatusUtil;
import lombok.Data;
import org.hibernate.annotations.Where;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name="t_stu_team")
@EntityListeners(AuditingEntityListener.class)

@IdClass(DoubleKey.class)
public class StuTeam implements Serializable {
    private static final long serialVersionUID = -4466904221026481006L;
    @Id


    private int stu_id;
    @Id

    private int team_id;
}
